/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Gui;

import Model.GetLogin;
import java.awt.Component;
import java.awt.FlowLayout;
import javax.swing.JOptionPane;
import org.netbeans.lib.awtextra.AbsoluteConstraints;

/**
 *
 * @author Pham Hue
 */
public final class JFrameMain extends javax.swing.JFrame {

    /**
     * Creates new form JFrameMain
     */
    Model.GetLogin login;
    private String quyen;

    public JFrameMain(String quyen) {
        initComponents();
        this.quyen = quyen;
        PhanQuyen();
    }

    public void PhanQuyen() {
       // JOptionPane.showMessageDialog(this, this.quyen);
        if(this.quyen.startsWith("NV")){//No la nhan vien
            switch(this.quyen){
                case "NV1":{
                    this.btnCapNhatSP.setVisible(true);
                    this.btnThongKeDM.setVisible(true);
                    this.btnThongKeKH.setVisible(true);
                    this.btnThongkeHD.setVisible(true);
                    this.btnThongtinNCC.setVisible(true);
                    this.btnThoat.setVisible(true);
                    this.btnChangePass.setVisible(true);
                    break;
                }
                case "NV2":{
                    this.btnCapNhatSP.setVisible(true);
                    this.btnThongKeDM.setVisible(true);
                    this.btnThongKeKH.setVisible(true);
                    this.btnThongkeHD.setVisible(true);
                    this.btnThongtinNCC.setVisible(true);
                    this.btnThoat.setVisible(true);
                    this.btnChangePass.setVisible(true);
                    break;
                }
                default:{
                    this.btnCapNhatSP.setVisible(true);
                    this.btnThongKeDM.setVisible(true);
                    this.btnThongKeKH.setVisible(true);
                    this.btnThongkeHD.setVisible(true);
                    this.btnThongtinNCC.setVisible(true);
                    this.btnThoat.setVisible(true);
                    this.btnChangePass.setVisible(false);
                    break;
                }
            }
        }
    }

//    public void addJpanel(Component panel) {
//        this.jPanelMain.removeAll();
//        this.jPanelMain.setLayout(new FlowLayout());
//        this.jPanelMain.add(panel, new AbsoluteConstraints(0, 0, jPanelMain.getWidth(), jPanelMain.getHeight()));
//
//    }

    public void setbutton(boolean edit) {
        this.btnCapNhatSP.setVisible(edit);
        this.btnThongKeDM.setVisible(edit);
        this.btnThongKeKH.setVisible(edit);
        this.btnThongkeHD.setVisible(edit);
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jPanelMain = new javax.swing.JPanel();
        jLabel11 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        btnCapNhatSP = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        btnThongKeDM = new javax.swing.JButton();
        jLabel3 = new javax.swing.JLabel();
        btnThongkeHD = new javax.swing.JButton();
        jLabel5 = new javax.swing.JLabel();
        btnThongKeKH = new javax.swing.JButton();
        jLabel6 = new javax.swing.JLabel();
        lbUsername = new javax.swing.JLabel();
        btnChangePass = new javax.swing.JButton();
        jLabel7 = new javax.swing.JLabel();
        btnThoat = new javax.swing.JButton();
        jLabel8 = new javax.swing.JLabel();
        btnThongKeNV = new javax.swing.JButton();
        jLabel9 = new javax.swing.JLabel();
        btnThongtinPNH = new javax.swing.JButton();
        jLabel10 = new javax.swing.JLabel();
        btnThongtinNCC = new javax.swing.JButton();
        jPanel2 = new javax.swing.JPanel();
        jLabel4 = new javax.swing.JLabel();

        jPanelMain.setBackground(new java.awt.Color(255, 102, 255));
        jPanelMain.setLayout(new java.awt.GridBagLayout());

        jLabel11.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/hue.jpg"))); // NOI18N
        jLabel11.setPreferredSize(new java.awt.Dimension(1080, 566));
        jPanelMain.add(jLabel11, new java.awt.GridBagConstraints());

        jPanel1.setBackground(new java.awt.Color(0, 255, 255));

        jLabel1.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel1.setText("ĐIỆN THOẠI");

        btnCapNhatSP.setBackground(new java.awt.Color(153, 153, 153));
        btnCapNhatSP.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnCapNhatSP.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/Options.png"))); // NOI18N
        btnCapNhatSP.setText("Cập nhật");
        btnCapNhatSP.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCapNhatSPActionPerformed(evt);
            }
        });

        jLabel2.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel2.setText("QUẢN LÝ KHÁCH HÀNG");

        btnThongKeDM.setBackground(new java.awt.Color(153, 153, 153));
        btnThongKeDM.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnThongKeDM.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/Stats.png"))); // NOI18N
        btnThongKeDM.setText("Thống kê danh mục ");
        btnThongKeDM.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThongKeDMActionPerformed(evt);
            }
        });

        jLabel3.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel3.setText("QUẢN LÝ NHÂN VIÊN");

        btnThongkeHD.setBackground(new java.awt.Color(153, 153, 153));
        btnThongkeHD.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnThongkeHD.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/Template.png"))); // NOI18N
        btnThongkeHD.setText("Thông tin hóa đơn");
        btnThongkeHD.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThongkeHDActionPerformed(evt);
            }
        });

        jLabel5.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel5.setText("QUẢN LÝ DANH MỤC ĐIỆN THOẠI");

        btnThongKeKH.setBackground(new java.awt.Color(153, 153, 153));
        btnThongKeKH.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnThongKeKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/User (2).png"))); // NOI18N
        btnThongKeKH.setText("Cập nhật");
        btnThongKeKH.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThongKeKHActionPerformed(evt);
            }
        });

        jLabel6.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel6.setText("Tài Khoản");

        lbUsername.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N

        btnChangePass.setBackground(new java.awt.Color(153, 153, 153));
        btnChangePass.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnChangePass.setText("ChangePass");
        btnChangePass.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnChangePassActionPerformed(evt);
            }
        });

        jLabel7.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel7.setText("Hello,");

        btnThoat.setBackground(new java.awt.Color(153, 153, 153));
        btnThoat.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnThoat.setText("Thoát");
        btnThoat.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThoatActionPerformed(evt);
            }
        });

        jLabel8.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel8.setText("QUẢN LÝ HÓA ĐƠN");

        btnThongKeNV.setBackground(new java.awt.Color(153, 153, 153));
        btnThongKeNV.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnThongKeNV.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/Users.png"))); // NOI18N
        btnThongKeNV.setText("Thông tin nhân viên");
        btnThongKeNV.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThongKeNVActionPerformed(evt);
            }
        });

        jLabel9.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel9.setText("QUẢN LÝ NHÀ CUNG CẤP");

        btnThongtinPNH.setBackground(new java.awt.Color(153, 153, 153));
        btnThongtinPNH.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnThongtinPNH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/Paste (2).png"))); // NOI18N
        btnThongtinPNH.setText("Thông tin Phiếu Nhập Hàng");
        btnThongtinPNH.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThongtinPNHActionPerformed(evt);
            }
        });

        jLabel10.setFont(new java.awt.Font("Times New Roman", 3, 14)); // NOI18N
        jLabel10.setText("QUẢN LÝ PHIẾU NHẬP");

        btnThongtinNCC.setBackground(new java.awt.Color(153, 153, 153));
        btnThongtinNCC.setFont(new java.awt.Font("Times New Roman", 3, 12)); // NOI18N
        btnThongtinNCC.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Images/Portfolio (2).png"))); // NOI18N
        btnThongtinNCC.setText("Thông tin Nhà cung cấp");
        btnThongtinNCC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThongtinNCCActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel7)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(lbUsername, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(24, 24, 24)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 224, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel1)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(btnCapNhatSP, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnThongKeDM, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                .addGap(0, 4, Short.MAX_VALUE))
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(23, 23, 23)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jLabel9)
                        .addComponent(jLabel10)
                        .addComponent(jLabel3)
                        .addComponent(jLabel2)
                        .addComponent(jLabel8)
                        .addComponent(btnThongkeHD, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnThongKeNV, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                        .addComponent(btnThongKeKH, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnThongtinNCC, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(btnThongtinPNH, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                        .addGroup(jPanel1Layout.createSequentialGroup()
                            .addGap(39, 39, 39)
                            .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 84, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addComponent(btnThoat)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnChangePass)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lbUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel7))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel5)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnThongKeDM, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnCapNhatSP, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnThongKeKH, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnThongKeNV, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel8)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnThongkeHD, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel9)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(btnThongtinNCC, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel10)
                .addGap(11, 11, 11)
                .addComponent(btnThongtinPNH, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnChangePass, javax.swing.GroupLayout.DEFAULT_SIZE, 30, Short.MAX_VALUE)
                    .addComponent(btnThoat, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        jPanel2.setBackground(new java.awt.Color(102, 255, 0));
        jPanel2.setLayout(new java.awt.GridBagLayout());

        jLabel4.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
        jLabel4.setText(" HỆ THỐNG QUẢN LÝ CỬA HÀNG BÁN ĐIỆN THOẠI DI ĐỘNG");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.ipadx = 13;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
        gridBagConstraints.insets = new java.awt.Insets(38, 10, 48, 0);
        jPanel2.add(jLabel4, gridBagConstraints);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanelMain, javax.swing.GroupLayout.DEFAULT_SIZE, 1102, Short.MAX_VALUE)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanelMain, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(0, 11, Short.MAX_VALUE)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void btnCapNhatSPActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCapNhatSPActionPerformed

        JFrameSanPham frm = new JFrameSanPham();
        frm.setVisible(true);
       
    }//GEN-LAST:event_btnCapNhatSPActionPerformed

    private void btnThongKeDMActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThongKeDMActionPerformed
        Gui.JFrameChungLoai frm = new Gui.JFrameChungLoai();
        frm.setVisible(true);
        // addJpanel(frm);
    }//GEN-LAST:event_btnThongKeDMActionPerformed

    private void btnThongkeHDActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThongkeHDActionPerformed

        Gui.JFrameHoaDon frm = new Gui.JFrameHoaDon();
        frm.setVisible(true);
        // addJpanel(frm);
    }//GEN-LAST:event_btnThongkeHDActionPerformed

    private void btnThongKeKHActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThongKeKHActionPerformed

        JFrameKhachHang frm = new JFrameKhachHang();
        frm.setVisible(true);

    }//GEN-LAST:event_btnThongKeKHActionPerformed

    private void btnChangePassActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnChangePassActionPerformed
        // TODO add your handling code here:
        JFrameDoiMatKhau frm =new JFrameDoiMatKhau();
        frm.setVisible(true);
    }//GEN-LAST:event_btnChangePassActionPerformed

    private void btnThoatActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThoatActionPerformed
        // TODO add your handling code here:
        this.setVisible(false);
        JFrameLogin frm = new JFrameLogin();
        frm.setVisible(true);

    }//GEN-LAST:event_btnThoatActionPerformed

    private void btnThongKeNVActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThongKeNVActionPerformed
        // TODO add your handling code here:
        JFrameNhanVien frm = new JFrameNhanVien();
        frm.setVisible(true);

    }//GEN-LAST:event_btnThongKeNVActionPerformed

    private void btnThongtinPNHActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThongtinPNHActionPerformed
        // TODO add your handling code here:
        JFrameHoaDonNhap frm = new JFrameHoaDonNhap();
        frm.setVisible(true);
    }//GEN-LAST:event_btnThongtinPNHActionPerformed

    private void btnThongtinNCCActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThongtinNCCActionPerformed
        // TODO add your handling code here:
        JFrameNhaCC frm = new JFrameNhaCC();
        frm.setVisible(true);
      
    }//GEN-LAST:event_btnThongtinNCCActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCapNhatSP;
    private javax.swing.JButton btnChangePass;
    private javax.swing.JButton btnThoat;
    private javax.swing.JButton btnThongKeDM;
    private javax.swing.JButton btnThongKeKH;
    private javax.swing.JButton btnThongKeNV;
    private javax.swing.JButton btnThongkeHD;
    private javax.swing.JButton btnThongtinNCC;
    private javax.swing.JButton btnThongtinPNH;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanelMain;
    private javax.swing.JLabel lbUsername;
    // End of variables declaration//GEN-END:variables
}
